<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
  span{
    font-size:12px;
    position:relative;
    right: 2px;
    bottom:6px;
  }
  
  
  </style>
</head>
<body>
  <div>3二次方+2次方=数值</div>
  3<span>2</span>+2<span>4</span>=17
</body>
</html>